let str = "QIANDUANGOngchengshi猕猴桃Jquery很帅！哈哈 haha";

console.log(str.replace(/[a-zA-z]/g, match => {
    return match === match.toLowerCase() ? match.toUpperCase() : match.toLowerCase()
}))
